﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PercolationTree.Model
{
    class Layer
    {
        #region Private
        private IList<Node> m_Nodes = new List<Node>();
        #endregion

        #region Public
        public void AddNode(Node node)
        {
            m_Nodes.Add(node);
        }

        public void RemoveNode(Node node)
        {
            m_Nodes.Remove(node);
        }
        public IList<Node> Nodes
        {
            get
            {
                return m_Nodes;
            }
        }
        #endregion
    }
}
